<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php echo $this->Html->charset(); ?>        
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
        <title>
            <?php $cakeDescription = __d('cake_dev', 'EPCM'); ?>
            <?php echo $cakeDescription ?>:
            <?php echo $title_for_layout; ?>        
        </title>

        <?php
        echo $this->Html->css(array(
            'styles'
        ));
        ?>
        <?php
        echo $this->Html->script(array(
            'jquery-1.7.2.min',
            'jquery-ui-1.8.21.custom.min',
            'jquery.sheepItPlugin.min'
        ));
        ?>

        <?php
        echo $this->Html->script(array(
            'plugins/forms/ui.spinner',
            'plugins/forms/jquery.mousewheel'
        ));
        ?>  

        <?php
        echo $this->Html->script(array(
            'plugins/charts/excanvas.min',
            'plugins/charts/jquery.flot',
            'plugins/charts/jquery.flot.orderBars',
            'plugins/charts/jquery.flot.pie',
            'plugins/charts/jquery.flot.resize',
            'plugins/charts/jquery.sparkline.min'
        ));
        ?>

        <?php
        echo $this->Html->script(array(
            'plugins/tables/jquery.dataTables',
            'plugins/tables/jquery.sortable',
            'plugins/tables/jquery.resizable',
        ));
        ?>  

        <?php
        echo $this->Html->script(array(
            'plugins/forms/autogrowtextarea',
            'plugins/forms/jquery.uniform',
            'plugins/forms/jquery.inputlimiter.min',
            'plugins/forms/jquery.tagsinput.min',
            'plugins/forms/jquery.maskedinput.min',
            'plugins/forms/jquery.autotab',
            'plugins/forms/jquery.chosen.min',
            'plugins/forms/jquery.dualListBox',
            'plugins/forms/jquery.cleditor',
            'plugins/forms/jquery.ibutton',
            'plugins/forms/jquery.validationEngine-en',
            'plugins/forms/jquery.validationEngine'
        ));
        ?>

        <?php
        echo $this->Html->script(array(
            'plugins/uploader/plupload',
            'plugins/uploader/plupload.html4',
            'plugins/uploader/plupload.html5',
            'plugins/uploader/jquery.plupload.queue'
        ));
        ?>        

        <?php
        echo $this->Html->script(array(
            'plugins/wizards/jquery.form.wizard',
            'plugins/wizards/jquery.validate',
            'plugins/wizards/jquery.form'
        ));
        ?>  

        <?php
        echo $this->Html->script(array(
            'plugins/ui/jquery.collapsible.min',
            'plugins/ui/jquery.breadcrumbs',
            'plugins/ui/jquery.tipsy',
            'plugins/ui/jquery.progress',
            'plugins/ui/jquery.timeentry.min',
            'plugins/ui/jquery.colorpicker',
            'plugins/ui/jquery.jgrowl',
            'plugins/ui/jquery.fancybox',
            'plugins/ui/jquery.fileTree',
            'plugins/ui/jquery.sourcerer'
        ));
        ?>

        <?php
        echo $this->Html->script(array(
            'plugins/others/jquery.fullcalendar',
            'plugins/others/jquery.elfinder'
        ));
        ?>     

        <?php
        echo $this->Html->script(array(
            'plugins/ui/jquery.easytabs.min',
            'files/bootstrap',
            'files/functions'
        ));
        ?> 

        <?php
        echo $this->fetch('meta');
        echo $this->fetch('css');
        echo $this->fetch('script');
        ?>
        <!--[if IE]> <link href="css/ie.css" rel="stylesheet" type="text/css"> <![endif]-->               
    </head>
    <body>
        <!-- Top line begins -->
        <div id="top">
            <div class="wrapper">
                <a href="index.html" title="" class="logo">
                    <?php echo $this->Html->image('epcm/logo1.png') ?>                                
                </a>
                
                <!-- Right top nav -->
                <div class="topNav">
                    <ul class="userNav">
                    <?php //echo $this->Html->link('Cerrar Sesion', array('controller'=>'Users', 'action'=>'logout','id'=>'logeo')) ?>                  
                    <a href="/epcm/Users/logout/id:logeo" id="logeo">Cerrar Sesion</a>
                    <?php echo $this->Html->image('epcm/logo2.png') ?> 
                    </ul>
                </div>
                <div class="clear"></div>
                <!-- Responsive nav -->
                <ul class="altMenu">
                    <li><a href="index.html" title="">Dashboard</a></li>
                    <li><a href="ui.html" title="" class="exp" id="current">UI elements</a>
                        <ul>
                            <li><a href="ui.html">LISTADO DE TAGS</a></li>
                            <li><a href="ui_icons.html">Icons</a></li>
                        </ul>
                    </li>

                    <li><a href="other_calendar.html" title="" class="exp">Other pages</a>
                        <ul>
                            <li><a href="other_calendar.html">Calendar</a></li>
                            <li><a href="other_gallery.html">Images gallery</a></li>
                            <li><a href="other_file_manager.html">File manager</a></li>
                            <li><a href="other_404.html">Sample error page</a></li>
                            <li><a href="other_typography.html">Typography</a></li>
                        </ul>
                    </li>
                </ul>
                <div class="clear"></div>
            </div>
        </div>
        <!-- Top line ends -->

        <!-- Sidebar begins -->
        <div id="sidebar">
            <div class="mainNav">
                <div class="user">
                    <?php echo $this->Html->image('epcm/user.png') ?><span></span></a><span>Usuario</span>
                    
                </div>

                <!-- Responsive nav -->
                <div class="altNav">
                    <div class="userSearch">
                        <form action="">
                            <input type="text" placeholder="search..." name="userSearch" />
                            <input type="submit" value="" />
                        </form>
                    </div>

                    <!-- User nav -->
                    
                </div>

                <!-- Main nav -->
                <ul class="nav">
                    <li><a href="/epcm/Publicos/generales" title="" class="active"><?php echo $this->Html->image('epcm/dashboard.png') ?><span>INICIO</span></a></li>
                    <li><a href="/epcm/Publicos/indexordenes" title="" class="active"><?php echo $this->Html->image('epcm/tables.png') ?><span>ORDENES</span></a></li>
                    <li><a href="/epcm/Publicos/indexcontratos" title="" class="active"><?php echo $this->Html->image('epcm/other.png') ?><span>CONTRATOS</span></a></li>
                    <li><a href="/epcm/Publicos/indexplanos" title="" class="active"><?php echo $this->Html->image('epcm/forms.png') ?><span>PLANOS Y DOC. TEC.</span></a></li>
                   <?php //echo $this->Html->image('epcm/statistics.png') ?>
                    <li><a href="/epcm/Facturas/formbuscar" title="" class="active"><?php echo $this->Html->image('epcm/tables.png') ?><span>FACTURAS CC-13</span></a></li>
                                                                        
                 <?php
	
?>   <!--   <li><?php echo $this->Html->image("dashboard.png",array("title"=>"PRUEBA",'url'=>array('controller' => 'Reportes', 'action' => 'reporte1'))) ?></a></li>-->
                </ul>
            </div>

            <!-- Secondary nav -->
            <?php echo $this->element('menuordenestags') ?>
        </div>
        <!-- Sidebar ends -->
        <!-- Content begins -->
        <div id="content">
            <div class="contentTop">
                <span class="pageTitle"><span class="icon-grid-view"></span>BIENVENIDOS AL SISTEMA SIGAK - MSC </span>
                <div class="clear"></div>
            </div>
            <!-- Breadcrumbs line -->
            <div class="breadLine">
                <div class="bc">
                    <ul id="breadcrumbs" class="breadcrumbs">
                        <li><li><?php echo $this->Html->link('INICIO', array('controller' => 'Publicos', 'action' => 'generales')) ?></li>
                            <li><a href="#">DETALLES</a>
                                <ul>
                                    <li><?php echo $this->Html->link('INICIO', array('controller' => 'Publicos', 'action' => 'generales')) ?></li>
                                    <li><?php echo $this->Html->link('ORDENES', array('controller' => 'Publicos', 'action' => 'indexordenes')) ?></li>
                                    <li><?php echo $this->Html->link('CONTRATOS', array('controller' => 'Publicos', 'action' => 'indexcontratos')) ?></li>
                                    <li><?php echo $this->Html->link('PLANOS Y DOC. TEC.', array('controller' => 'Publicos', 'action' => 'indexplanos')) ?></li>
                                    <li><?php echo $this->Html->link('FACTURAS', array('controller' => 'Facturas', 'action' => 'formbuscar')) ?></li>                                    
                                </ul>
                            </li>                   

                    </ul>
                </div>


            </div>

            <!-- Main content -->
            <div class="wrapper">
                <!--<ul class="middleNavR">
                    <li><a href="#" title="Add an article" class="tipN"><img src="images/icons/middlenav/create.png" alt="" /></a></li>
                    <li><a href="#" title="Upload files" class="tipN"><img src="images/icons/middlenav/upload.png" alt="" /></a></li>
                    <li><a href="#" title="Add something" class="tipN"><img src="images/icons/middlenav/add.png" alt="" /></a></li>
                    <li><a href="#" title="Messages" class="tipN"><img src="images/icons/middlenav/dialogs.png" alt="" /></a><strong>8</strong></li>
                    <li><a href="#" title="Check statistics" class="tipN"><img src="images/icons/middlenav/stats.png" alt="" /></a></li>
                </ul>-->
                <!-- Full width grid element -->
                <div class="fluid">                    
                    <?php echo $this->Session->flash(); ?>                                  
                    <?php echo $this->fetch('content'); ?>    
                </div>
                <p></p> <p></p> <p></p>
                <div style="text-align: center; color:gray;">
                 <?php echo $this->Html->image('epcm/logo_epcm.png') ?>
                <p class="f-left">&copy; 2013 <a href="#">EPCM CONSULTORES</a>, Todos Los Derechos Reservados &reg;</p>
                <p class="f-right">Creado por <a href="http://www.virtualware.com/">VirtualWare</a></p>
                </div>
            </div>
            <!-- Main content ends -->
            <?php echo $this->element('sql_dump'); ?>
        </div>
        <!-- Content ends -->

    </body>
</html>
